{include file="common/common"}
            <!-- /Page Sidebar -->
            <!-- Page Content -->
            <div class="page-content">
                <!-- Page Breadcrumb -->
                <div class="page-breadcrumbs">
                    <ul class="breadcrumb">
                                        <li>
                        <a href="#">系统</a>
                    </li>
                                        <li class="active">配置管理</li>
                                        </ul>
                </div>
                <!-- /Page Breadcrumb -->

                <!-- Page Body -->
                <div class="page-body">
                    
<button type="button" tooltip="添加配置" class="btn btn-sm btn-azure btn-addon" onClick="javascript:window.location.href = '{:url('Conf/add')}'"> <i class="fa fa-plus"></i> Add
</button>
<div class="row">
    <div class="col-lg-12 col-sm-12 col-xs-12">
        <div class="widget">
            <div class="widget-body">
                <div class="flip-scroll">
                    <form action="" method="post">
                        <table class="table table-bordered table-hover">
                            <thead class="">
                            <tr>
                                <th class="text-center">ID</th>
                                <th class="text-center">排序</th>
                                <th class="text-center">配置中文文名称</th>
                                <th class="text-center">配置英文名称</th>
                                <th class="text-center">配置类型</th>
<!--                                <th class="text-center">配置值</th>-->
                                <th class="text-center">操作</th>
                            </tr>
                            </thead>
                            <tbody>
                     {volist name="confData" id="confData"}
                            <tr>
                                <td align="center">{$confData.id}</td>
                                <td align="center"><input type="text" value="{$confData.sort}" style="width: 50px;text-align: center" name="{$confData.id}"></td>
                                <td align="center">{$confData.cnname}</td>
                                <td align="center">{$confData.enname}</td>
                                <td align="center">
                                    {switch $confData.type}
                                        {case 1}单行文本{/case}
                                        {case 2}多行文本{/case}
                                        {case 3}单选按钮{/case}
                                        {case 4}复选框{/case}
                                        {case 5}下来菜单{/case}
                                    {/switch}
                                </td>
<!--                                <td align="center">{$confData.value}</td>-->
                                <td align="center">
                                    <a href="{:url('conf/edit',array('id'=>$confData['id']))}" class="btn btn-primary btn-sm shiny">
                                        <i class="fa fa-edit"></i> 编辑
                                    </a>
                                    <a href="{:url('conf/delete',array('id'=>$confData['id']))}"  class="btn btn-danger btn-sm shiny">
                                        <i class="fa fa-trash-o"></i> 删除
                                    </a>
                                </td>
                            </tr>
                     {/volist}
                            <tr>
                                <td></td>
                                <td align="center"><input type="submit" class="btn btn-primary btn-sm shiny" value="排序" ></td>
                            </tr>
                            </tbody>
                        </table>
                    </form>


                </div>
                <div style="margin-top: 20px;text-align: center">
                    {$page|raw}
                </div>

                <div>
                	                </div>
            </div>
        </div>
    </div>
</div>

                </div>
                <!-- /Page Body -->
            </div>
            <!-- /Page Content -->
		</div>	
	</div>

	    <!--Basic Scripts-->
    <script src="__static__/style/jquery_002.js"></script>
    <script src="__static__/style/bootstrap.js"></script>
    <script src="__static__/style/jquery.js"></script>
    <!--Beyond Scripts-->
    <script src="__static__/style/beyond.js"></script>
    


</body></html>